{template header}
<div class="path">
	<span><a href="order-admin.htm">订单管理</a></span>
	<span>详单查看</span>
</div>
<div class="content">
	<div class="c1">
		<table width="100%" border="0" cellspacing="1" cellpadding="2" class="table1" style="text-align:center;margin-top:10px;">
		<tr><th align="left">产品信息</th></tr>
		<tr><td>
			<table width="100%" cellspacing="0">
			<tr>
				<td>订货号</td>
				<td>产品说明</td>
				<td>本店价格</td>
				<td>会员价格</td>
				<td>数量</td>
				<td>小计</td>
			</tr>
			<!--{loop $shoppingcartList $v}-->
			<tr>
				<td><a href="{GODHOUSE_DOMAIN_WWW}product-detail-{$v[categoryId]}.htm" target="_blank">$v[productNo]</a></td>
				<td>$v[content]</td>
				<td>￥$v[ourPrice]</td>
				<td>￥$v[userPrice]</td>
				<td>$v[cartCount]</td>
				<td>￥{$v[subtotal]}</td>
			</tr>
			<!--{/loop}-->
			</table>
		</td></tr>
		<tr><td align="right" colspan="5">合计：￥{$order[totalPrice]}&nbsp;</td></tr>
		<tr><th align="left">订单信息</th></tr>
		<tr><td>
			<table width="100%" cellspacing="0">
			<tr>
				<td width="20%" align="right"><b>订单号：</b></td>
				<td width="30%" align="left">{$order[orderNo]}</td>
				<td width="10%" align="right"><b>用户：</b></td>
				<td align="left">{$order[userName]}</td>
				
			</tr>
			<tr>
				<td align="right"><b>状态：</b></td>
				<td align="left">{$order[status]}</td>
				<td align="right"><b>配送方式：</b></td>
				<td align="left">{$order[logistic]}</td>
			</tr>
			<tr>
				<td align="right"><b>总价：</b></td>
				<td align="left">￥{$order[totalPrice]} <span style="color:#FF9900">{$order[payType]}</span></td>
				<td align="right"><b>下单时间：</b></td>
				<td align="left">{$order[createdTime]}</td>
			</tr>
			</table>
		</td></tr>
		<tr><th align="left">收货信息 <a href="order-editConsignee-{$order[consigneeId]}.htm" onclick="ajaxmenu(this.href, 1);">编辑</a></th></tr>
		<tr><td>
			<table width="100%" cellspacing="0">
			<tr>
				<td width="20%" align="right"><b>姓名：</b></td>
				<td width="30%" align="left">{$consignee[realName]}</td>
				<td width="10%" align="right"><b>手机：</b></td>
				<td align="left">{$consignee[mobile]}</td>
				
			</tr>
			<tr>
				<td align="right"><b>Email：</b></td>
				<td align="left">{$consignee[email]}</td>
				<td align="right"><b>电话：</b></td>
				<td align="left">{$consignee[phone]}</td>
			</tr>
			<tr>
				<td align="right"><b>最佳送货时间：</b></td>
				<td align="left">{$consignee[bestTime]}</td>
				<td align="right"><b>标志建筑：</b></td>
				<td align="left">{$consignee[signBuilding]}</td>
			</tr>
			<tr>
				<td align="right"><b>邮编：</b></td>
				<td align="left">{$consignee[zipcode]}</td>
				<td align="right"><b>地址：</b></td>
				<td align="left">{$consignee[area]} / {$consignee[address]}</td>
			</tr>
			</table>
		</td></tr>
		<tr><th align="left">操作信息</th></tr>
		<tr><td>
			<form id="myForm" action="order-status-$order[orderId].htm" method="POST">
			<table width="100%" cellspacing="5">
				<tr><td width="20%" align="right">操作备注：</td><td width="80%" align="left"><textarea name="comment" cols="80" rows="5">{$order[comment]}</textarea></td></tr>
				<tr><td  align="right">状态操作：</td><td align="left">
				<!--{if !$bottons}-->
				此订单已不能进行任何状态操作
				<!--{else}-->
					<!--{loop $bottons $type $bottonList}-->
						<!--{if $type=='order'}-->
						订单：
						<!--{elseif $type=='pay'}-->
						支付：
						<!--{elseif $type=='delivery'}-->
						发货：
						<!--{/if}-->
						<!--{loop $bottonList $k $v}-->
							<!--{if ($type!='order' || $k!=$order[orderStatus]) && ($type!='pay' || $k!=$order[payStatus]) && ($type!='delivery' || $k!=$order[deliveryStatus])}-->
							<input type="radio" name="$type" value="$k" /> $v
							<!--{/if}-->
						<!--{/loop}-->
						<br/><br/>
					<!--{/loop}-->
				<!--{/if}-->
				</td></tr>
				<tr><td colspan="2"><input type="submit" name="submitTo" value=" 操 作 " class="bigButton" /></td></tr>
			</table>
			</form>
		</td></tr>
		<tr><th align="left">操作日志</th></tr>
		<tr><td>
			<table width="100%" cellspacing="0" cellpadding="0" border="0">
				<tr><td>操作者</td><td>操作内容</td><td>操作备注</td><td>操作时间</td></tr>
				<!--{loop $operationList $v}-->			
				<tr><td>$v[userName]</td><td>$v[content]</td><td>$v[comment]</td><td>$v[createdTime]</td></tr>	
				<!--{/loop}-->			
			</table>
		</td></tr>
		</table>
	</div>
</div>
{template footer}